package com.woniuxy.microcurrentserver.dao;

import com.woniuxy.bean.current.PageInfos;
import com.woniuxy.bean.current.MemberCurrentAccount;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper
public interface CurrentOrderDao {


    int insertOrder(@Param("userName") String userName, @Param("code") String code, @Param("fundNum") String fundNum);

    int updateAccount(String data);

    List<MemberCurrentAccount> getUserCurrentInfo(String memberAccount);

    MemberCurrentAccount checkMember(@Param("code") String code, @Param("name") String name);

    int updateFundNum(PageInfos pageInfos);

    void setFundNumZero(@Param("code") String code, @Param("name") String name);
}
